- Title
- Using Machine Learning to Predict the Sentiment of Online Reviews: A New Framework for Comparative Analysis
- Creator
- Budhi, Gregorius Satia; Chiong, Raymond; Pranata, Ilung; Hu, Zhongyi
- Relation
- Archives of Computational Methods in Engineering Vol. 28, Issue 4, p. 2543-2566
- Publisher Link
- http://dx.doi.org/10.1007/s11831-020-09464-8
- Publisher
- Springer
- Resource Type
- journal article
- Date
- 2021
- Description
- Online reviews are becoming increasingly important for decision-making. Consumers often refer to online reviews for opinions before making a purchase. Marketers also acknowledge the importance of online reviews and use them to improve product success. However, the massive amount of online review data, as well as its unstructured nature, is a challenge for anyone wanting to derive a conclusion quickly. In this paper, we propose a novel framework for gauging the ratings of online reviews using machine learning techniques. This framework uses a combination of text pre-processing and feature extraction methods. Here, we investigate four different aspects of the new framework. First, we assess the performance of single and ensemble classifiers in predicting sentiment—positive or negative—initially on a specific dataset (Yelp), but subsequently also on two other datasets (Amazon's product reviews and a movie review dataset). Second, using the best identified classifiers, we improve the accuracy with which neutral polarity can be predicted, an ability largely overlooked in the literature. Third, we further improve the performance of these classifiers by testing different pre-processing and feature extraction methods. Finally, we measure how well our deep learning approach performs on the same task compared to the best previously identified classifiers. Our extensive testing shows that the linear-kernel support vector machine, logistic regression and multilayer perceptron are the three best single classifiers in terms of accuracy, precision, recall, and F-measure. Their performance could be further improved if they were used as base classifiers for ensemble models. We also observe that several text pre-processing techniques—negation word identification, word elongation correction, and part of speech lemmatisation (combined with Terms Frequency and N-gram words)—can increase accuracy. In addition, we demonstrate that the general sentiment of lexicons such as SentiWordNet 3.0 and SenticNet 4 can be used to generate features with good results, although deep learning models can perform equally well. Experiments with different datasets confirm that our framework provides consistent outcomes. In particular, we have focused on improving the accuracy of neutral sentiment, and we conclude by showing how this can be achieved without sacrificing the accuracy of positive or negative ratings.
- Subject
- online reviews; machine learning; classifiers; linear-kernel support vector machine; logistic regression; multilayer perceptron
- Identifier
- http://hdl.handle.net/1959.13/1443615
- Identifier
- uon:42051
- Identifier
- ISSN:1134-3060
- Language
- eng
- Reviewed
- Hits: 937
- Visitors: 927
- Downloads: 0
Thumbnail | File | Description | Size | Format |
---|